From 6052a8fee950c4c9cd315245cb5dd6bc401bd779 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Wed, 3 Aug 2005 09:34:37 +0000 Subject: [PATCH] The attached trivial patch fixes a spurious gcc-4.0 warning in xen/arch/x86/mm.c when building the current hg tip. Due to -Werror, this breaks builds with gcc-4.0. Signed-off-by: Josh Triplett --- xen/arch/x86/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index a8c9708f58..0734c50847 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -1040,7 +1040,7 @@ static int mod_l2_entry(l2_pgentry_t *pl2e, unsigned int type) { l2_pgentry_t ol2e; - unsigned long vaddr; + unsigned long vaddr = 0; if ( unlikely(!is_guest_l2_slot(type,pgentry_ptr_to_slot(pl2e))) ) { -- 2.30.2